var http = require('../http.js')

//  发布动态 

const dongtaiadd = (data) => {
  var url = 'circle/add'
  http.config.istoken = true
  return http.postReq(url, data)
}
// 查看分类是否收费 circle/fee
const fee = (cat_id) => {
  var url = 'circle/fee'
  return http.getReq(url, {
    cat_id: cat_id
  })
}
// 名片置顶收费模块列表 / api / common / top_fee


const top_fee = () => {
  var url = 'common/top_fee'
  return http.getReq(url)
}
// 获取视频vid 

const get_vid = (ljurl) => {
  var url = 'common/get_vid'
  return http.getReq(url, {
    url: ljurl
  })
}
module.exports = {
  dongtaiadd,
  fee,
  top_fee,
  get_vid,
}